package com.dp.mallchat.common.user.service;

import com.dp.mallchat.common.user.domain.user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dp.mallchat.common.user.domain.user.req.*;
import com.dp.mallchat.common.user.domain.user.resp.BadgeResp;
import com.dp.mallchat.common.user.domain.user.resp.ItemInfoDTO;
import com.dp.mallchat.common.user.domain.user.resp.SummeryInfoDTO;
import com.dp.mallchat.common.user.domain.user.resp.UserInfoResp;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author <a href="https://github.com/adu">adu</a>
 * @since 2024-05-14
 */
public interface UserService extends IService<User> {

    void register(User user);

    UserInfoResp getUserInfo(Long uid);

    void modifyName(Long uid, ModifyNameReq modifyNameReq);

    List<BadgeResp> badges(Long uid);

    void wearingBadge(Long uid, BadgeReq badgeReq);

    void black(BlackReq req);

    List<SummeryInfoDTO> getSummeryUserInfo(SummeryInfoReq summeryInfoReq);

    List<ItemInfoDTO> getItemInfo(ItemInfoReq req);
}
